package com.zcm.service.auth;

import com.zcm.service.Service;
import com.zcm.service.auth.impl.AccessToken;
import com.zcm.service.auth.impl.RequestToken;


/**
 * 进行认证的接口
 * @author Administrator
 *
 */
public interface AuthorizeService extends Service{
	
	/**
	 * 获取requestToken,用以获取AccessToken
	 * @return
	 */
	public RequestToken getRequestToken();	
	
	/**
	 * 获取accessToken, 用户获取用户的微博信息 
	 * @return
	 */
	public AccessToken getAccessToken(RequestToken reqToken);
	
	/**
	 * 获取认证的url
	 * @return
	 */
	public String getAuthorizationURL(RequestToken reqToken);
}
